<TestCase testName="Test_05_Orchestration1">
  <TestSetup>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileDeleteMultipleStep">
      <Directory>C:\Fileports\Rec_01\</Directory>
      <SearchPattern>*.xml</SearchPattern>
    </TestStep>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileDeleteMultipleStep">
      <Directory>C:\Fileports\Send_01\</Directory>
      <SearchPattern>*.xml</SearchPattern>
    </TestStep>
  </TestSetup>
  <TestExecution>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileCreateStep">
      <SourcePath>.\BizUnitTests\TestData\Orchestrations\InDoc1.xml</SourcePath>
      <CreationPath>C:\Fileports\Rec_01\InDoc1.xml</CreationPath>
    </TestStep>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileCreateStep">
      <SourcePath>.\BizUnitTests\TestData\Orchestrations\InDoc1.xml</SourcePath>
      <CreationPath>C:\Fileports\Rec_01\InDoc2.xml</CreationPath>
    </TestStep>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileValidateStep">
      <Timeout>10000</Timeout>
      <Directory>C:\Fileports\\Send_01\</Directory>
      <SearchPattern>*.xml</SearchPattern>
      <DeleteFile>true</DeleteFile>
      <ValidationStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.XmlValidationStep">
        <XmlSchemaPath>.\BizUnitTests\Schemas\PO_Ack.xsd</XmlSchemaPath>
        <XmlSchemaNameSpace>http://TestFrameworkDemo.PO_Ack</XmlSchemaNameSpace>
        <XPathList>
          <XPathValidation query="/*[local-name()='POAck' and namespace-uri()='http://TestFrameworkDemo.PO_Ack']/*[local-name()='PoNumber' and namespace-uri()='']">1234</XPathValidation>
          <XPathValidation query="/*[local-name()='POAck' and namespace-uri()='http://TestFrameworkDemo.PO_Ack']/*[local-name()='Status' and namespace-uri()='']">OK</XPathValidation>
        </XPathList>
      </ValidationStep>
    </TestStep>
  </TestExecution>
  <!-- Test cleanup: test cases should always leave the system in the state they found it -->
  <TestCleanup>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileDeleteMultipleStep" failOnError="false">
      <Directory>C:\Fileports\Rec_01\</Directory>
      <SearchPattern>*.xml</SearchPattern>
    </TestStep>
    <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileDeleteMultipleStep" failOnError="false">
      <Directory>C:\Fileports\Send_01\</Directory>
      <SearchPattern>*.xml</SearchPattern>
    </TestStep>
  </TestCleanup>
</TestCase>